.class public Lcom/estrongs/android/view/o;
.super Lcom/estrongs/android/view/ImageFileGridViewWrapper;
.source "AutoBackupImageChooseWrapper.java"

# interfaces
.implements Lcom/estrongs/android/view/p;
.implements Lcom/estrongs/android/ui/autobackup/activity/b;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/view/o$b;,
        Lcom/estrongs/android/view/o$a;
    }
.end annotation


# instance fields
.field private k1:Les/uw;

.field private final l1:Landroid/widget/TextView;


# direct methods
.method public constructor <init>(Landroid/app/Activity;I)V
    .locals 2

    .line 1
    invoke-static {}, Lcom/estrongs/android/view/n;->G0()Les/q70;

    move-result-object v0

    const/4 v1, 0x0

    invoke-direct {p0, p1, v0, v1}, Lcom/estrongs/android/view/ImageFileGridViewWrapper;-><init>(Landroid/app/Activity;Les/q70;Lcom/estrongs/android/view/FileGridViewWrapper$a0;)V

    const p1, 0x7f0901a7

    .line 2
    invoke-virtual {p0, p1}, Lcom/estrongs/android/view/h0;->b(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    iput-object p1, p0, Lcom/estrongs/android/view/o;->l1:Landroid/widget/TextView;

    .line 3
    new-instance v0, Lcom/estrongs/android/view/b;

    invoke-direct {v0, p0}, Lcom/estrongs/android/view/b;-><init>(Lcom/estrongs/android/view/o;)V

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 4
    invoke-direct {p0}, Lcom/estrongs/android/view/o;->O0()V

    .line 5
    invoke-virtual {p0}, Lcom/estrongs/android/view/h0;->i()Landroid/content/Context;

    move-result-object p1

    const v0, 0x7f060330

    invoke-static {p1, v0}, Landroidx/core/content/ContextCompat;->getColor(Landroid/content/Context;I)I

    move-result p1

    invoke-virtual {p0, p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->k(I)V

    .line 6
    invoke-static {}, Lcom/estrongs/android/view/n;->H0()Lcom/estrongs/fs/h;

    move-result-object p1

    invoke-virtual {p0, p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->a(Lcom/estrongs/fs/h;)V

    .line 7
    invoke-direct {p0, p2}, Lcom/estrongs/android/view/o;->l(I)V

    .line 8
    new-instance p1, Lcom/estrongs/android/view/c;

    invoke-direct {p1, p0}, Lcom/estrongs/android/view/c;-><init>(Lcom/estrongs/android/view/o;)V

    invoke-virtual {p0, p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$e;)V

    return-void
.end method

.method private O0()V
    .locals 3

    const v0, 0x7f09009d

    .line 1
    invoke-virtual {p0, v0}, Lcom/estrongs/android/view/h0;->b(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    .line 2
    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 3
    new-instance v0, Lcom/estrongs/android/ui/addressbar/a$a;

    invoke-direct {v0}, Lcom/estrongs/android/ui/addressbar/a$a;-><init>()V

    .line 4
    invoke-virtual {p0}, Lcom/estrongs/android/view/h0;->i()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0602eb

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    iput-object v1, v0, Lcom/estrongs/android/ui/addressbar/a$a;->a:Landroid/graphics/drawable/Drawable;

    .line 5
    invoke-virtual {p0}, Lcom/estrongs/android/view/h0;->i()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f08072d

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    iput-object v1, v0, Lcom/estrongs/android/ui/addressbar/a$a;->b:Landroid/graphics/drawable/Drawable;

    const v1, 0x7f060321

    .line 6
    iput v1, v0, Lcom/estrongs/android/ui/addressbar/a$a;->c:I

    const/4 v1, 0x0

    .line 7
    iput-boolean v1, v0, Lcom/estrongs/android/ui/addressbar/a$a;->d:Z

    .line 8
    iput v1, v0, Lcom/estrongs/android/ui/addressbar/a$a;->e:I

    .line 9
    invoke-virtual {p0}, Lcom/estrongs/android/view/h0;->i()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0800d5

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    iput-object v1, v0, Lcom/estrongs/android/ui/addressbar/a$a;->f:Landroid/graphics/drawable/Drawable;

    return-void
.end method

.method private l(I)V
    .locals 3

    const/4 v0, 0x3

    if-eq p1, v0, :cond_1

    const/4 v0, 0x4

    if-ne p1, v0, :cond_0

    .line 1
    new-instance p1, Lcom/estrongs/android/view/o$b;

    invoke-direct {p1, p0}, Lcom/estrongs/android/view/o$b;-><init>(Lcom/estrongs/android/view/o;)V

    iput-object p1, p0, Lcom/estrongs/android/view/o;->k1:Les/uw;

    .line 2
    invoke-interface {p1}, Les/uw;->g()V

    .line 3
    iget-object p1, p0, Lcom/estrongs/android/view/o;->k1:Les/uw;

    invoke-interface {p1}, Les/uw;->f()V

    goto :goto_0

    .line 4
    :cond_0
    new-instance v0, Ljava/lang/IllegalArgumentException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "wrong mode="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 5
    :cond_1
    new-instance p1, Lcom/estrongs/android/view/o$a;

    invoke-direct {p1, p0}, Lcom/estrongs/android/view/o$a;-><init>(Lcom/estrongs/android/view/o;)V

    iput-object p1, p0, Lcom/estrongs/android/view/o;->k1:Les/uw;

    .line 6
    invoke-interface {p1}, Les/uw;->g()V

    .line 7
    iget-object p1, p0, Lcom/estrongs/android/view/o;->k1:Les/uw;

    invoke-interface {p1}, Les/uw;->f()V

    :goto_0
    return-void
.end method


# virtual methods
.method public B0()V
    .locals 0

    return-void
.end method

.method protected N()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/o;->k1:Les/uw;

    if-eqz v0, :cond_0

    .line 2
    iget-object v1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->l:Landroid/view/View;

    check-cast v1, Landroid/widget/TextView;

    invoke-interface {v0, v1}, Les/uw;->a(Landroid/widget/TextView;)V

    .line 3
    :cond_0
    invoke-super {p0}, Lcom/estrongs/android/view/FileGridViewWrapper;->N()V

    return-void
.end method

.method public synthetic a(Landroid/view/View;)V
    .locals 0

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/view/o;->k1:Les/uw;

    invoke-interface {p1}, Les/uw;->d()V

    return-void
.end method

.method public a(Lcom/estrongs/android/ui/autobackup/activity/a;)V
    .locals 1
    .param p1    # Lcom/estrongs/android/ui/autobackup/activity/a;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/view/o;->k1:Les/uw;

    invoke-interface {v0, p1}, Lcom/estrongs/android/ui/autobackup/activity/b;->a(Lcom/estrongs/android/ui/autobackup/activity/a;)V

    return-void
.end method

.method protected a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;IZ)V
    .locals 2

    if-eqz p3, :cond_0

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/view/o;->k1:Les/uw;

    const/4 v1, 0x5

    invoke-interface {v0, v1}, Les/uw;->a(I)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {p0}, Lcom/estrongs/android/view/h0;->i()Landroid/content/Context;

    move-result-object p1

    const p2, 0x7f1101a5

    const/4 p3, 0x1

    new-array p3, p3, [Ljava/lang/Object;

    const/4 v0, 0x0

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    aput-object v1, p3, v0

    invoke-virtual {p1, p2, p3}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/ui/view/d;->a(Ljava/lang/CharSequence;)V

    return-void

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/view/o;->k1:Les/uw;

    invoke-interface {v0, p1, p2}, Les/uw;->a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;I)Z

    .line 5
    invoke-super {p0, p1, p2, p3}, Lcom/estrongs/android/view/ImageFileGridViewWrapper;->a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;IZ)V

    return-void
.end method

.method public a(Z)V
    .locals 0

    .line 6
    invoke-super {p0, p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->a(Z)V

    .line 7
    iget-object p1, p0, Lcom/estrongs/android/view/o;->k1:Les/uw;

    if-eqz p1, :cond_0

    .line 8
    invoke-interface {p1}, Les/uw;->f()V

    :cond_0
    return-void
.end method

.method protected b(Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;I)V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/o;->k1:Les/uw;

    if-eqz v0, :cond_0

    instance-of v1, p1, Lcom/estrongs/android/view/FileGridViewWrapper$DetailItemViewHolder;

    if-eqz v1, :cond_0

    .line 2
    check-cast p1, Lcom/estrongs/android/view/FileGridViewWrapper$DetailItemViewHolder;

    invoke-interface {v0, p1, p2}, Les/uw;->a(Lcom/estrongs/android/view/FileGridViewWrapper$DetailItemViewHolder;I)V

    :cond_0
    return-void
.end method

.method public d(Ljava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;)V"
        }
    .end annotation

    .line 1
    invoke-super {p0, p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->d(Ljava/util/List;)V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/view/o;->k1:Les/uw;

    if-eqz v0, :cond_0

    .line 3
    invoke-interface {v0, p1}, Les/uw;->c(Ljava/util/List;)V

    :cond_0
    return-void
.end method

.method public e()Landroid/widget/TextView;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/o;->l1:Landroid/widget/TextView;

    return-object v0
.end method

.method public synthetic g(Ljava/util/List;)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/o;->k1:Les/uw;

    invoke-interface {v0, p1}, Les/uw;->a(Ljava/util/List;)V

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/view/o;->k1:Les/uw;

    invoke-interface {p1}, Les/uw;->f()V

    return-void
.end method

.method protected k()I
    .locals 1

    const v0, 0x7f0c0028

    return v0
.end method

.method public onBackPressed()Z
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/o;->k1:Les/uw;

    if-eqz v0, :cond_0

    .line 2
    invoke-interface {v0}, Les/uw;->onBackPressed()Z

    move-result v0

    return v0

    :cond_0
    const/4 v0, 0x0

    return v0
.end method
